package com.ys.utils.hjzf.sdk.enums;

public interface TransEnum {
    //产品类型
    enum productType{
        pay("普通代付","BANK_PAY_ORDINARY_ORDER"),
        daily("朝夕付","BANK_PAY_DAILY_ORDER"),
        wantonly("任意付","BANK_PAY_MAT_ENDOWMENT_ORDER"),
        ordering("组合付","BANK_PAY_COMPOSE_ORDER");
        private String name;
        private String code;

        productType(String name, String code) {
            this.code = code;
            this.name = name;
        }

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }
    }

    //账户类型
    enum accountType{
        individual("对私账户","201"),
        corporate("对公账户","204");
        private String name;
        private String code;

        accountType(String name, String code) {
            this.code = code;
            this.name = name;
        }

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }
    }

    //代付用途类型
    enum paymentOnBehalf{
        salary("工资资金","201"),
        activity_funds("活动经费","202"),
        pension("养老金","203"),
        goods_sincere("货款","204"),
        service_fee("劳务费","205"),
        insurance_financing("保险理财","206"),
        fund_distribution("资金下发","207"),
        business_refund("营业退款","208"),
        other("其他","209"),
        refund("退回款项","210"),
        consumption_funds("消费款项","211");
        private String name;
        private String code;

        paymentOnBehalf(String name, String code) {
            this.code = code;
            this.name = name;
        }

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }
    }


}

